package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.pojo.entity.Assessment;
import com.example.pojo.entity.Problem;

import java.util.List;
import java.util.Map;

public interface ProblemService extends IService<Problem>{

    Page<Problem> selectPage(String name, Integer pageNum, Integer pageSize);

    void add(Problem problem);
    void deleteById(Integer id);
    Problem selectById(Integer id);
    void update(Problem problem);
    void deleteBatch(List<Integer> ids);
}
